//
// Treasure Chest Dialog Window
//
// L. Dean Gibson II  2/20/01
//
//

#ifndef TREASURE_CHEST_WINDOW_H_INCLUDED
#define TREASURE_CHEST_WINDOW_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#pragma warning( disable: 4786 )


#include "button_group.h"
#include "bitmap_group_ptr.h"
#include "game_window.h"

class t_adv_treasure_chest; // forward declare

// -------------------------------------------------------------------
// window to display treasure chest gold/exp player option
// -------------------------------------------------------------------
class t_treasure_chest_window : public t_window
{
public:
	t_treasure_chest_window( t_window* parent , t_adv_treasure_chest* chest);

protected:
	void create_buttons( t_screen_point origin );
	void create_labels( t_screen_point origin );
	void exp_change( t_button* );
	void gold_change( t_button* );
	void close_click( t_button* );



private:
	t_bitmap_group_ptr			m_chest_bitmaps;
	t_toggle_button*	        m_experience_button;
	t_toggle_button*	        m_gold_button;
	t_window*					m_index_window;
	t_button_group				m_toggle_group;
	t_adv_treasure_chest*		m_treasure_chest;

};

#endif // TREASURE_CHEST_WINDOW_H_INCLUDED
